package com.example.controller

import com.example.controller.response.UserResponse
import org.springframework.http.HttpStatus
import org.springframework.http.ResponseEntity
import org.springframework.web.bind.annotation.GetMapping
import org.springframework.web.bind.annotation.PostMapping
import org.springframework.web.bind.annotation.RequestMapping
import org.springframework.web.bind.annotation.RestController

/**
 *
 *
 * @author wangli
 * @date 2025-10-09
 */
@RestController
@RequestMapping("/user")
class UserController {

    @PostMapping
    fun createUserV1(): ResponseEntity<Long> {
        return ResponseEntity.status(HttpStatus.CREATED).body(1L)
    }

    @GetMapping
    fun getUserV1(): ResponseEntity<UserResponse> {
        return ResponseEntity.status(HttpStatus.OK).body(null)
    }
}